package com.leenmvc.core.utils.http.entity;

import java.lang.reflect.Method;

/**
 * 描述URL信息，缓存与URL相关联的类
 */
public class UrlData {

    /**
     * 所属的控制器
     */
    private Class<?> cls;

    /**
     * 所属的方法
     */
    private Method method;

    private String url;

    /**
     * POST,GET,PUT,DELETE
     */
    private String requestMethod;

    private String module;

    public Class<?> getCls() {
        return cls;
    }

    public void setCls(Class<?> cls) {
        this.cls = cls;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }
}
